﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AmuTools;

namespace app.Models
{
    [Model(TableName = "t_uploaded_file", PrimaryKey = "id", IdentityInsert = true)]
    public class UploadedFile
    {
        [Field(Description = "唯一标识符")]
        public int id { get; set; }


        [Field(Description = "文件名称")]
        public string name { get; set; }


        [Field(DataType = "char(13)", Description = "创建时间")]
        public string create_time { get; set; }


        [Field(Description = "上传者ID")]
        public string person_id { get; set; }


        [Field(Description = "文件大小，单位为字节")]
        public int size { get; set; }


        [Field(DataType = "varchar(100)", Description = "文件地址")]
        public string url { get; set; }
    }
}